package com.liyi.dao;

import java.util.List;

import com.zero.basic.dao.IBaseDao;
import com.zero.basic.exception.SmsDaoException;
import com.zero.mms.model.Employee;

public interface EmpDao extends IBaseDao<Employee> {
	
	/* 获取所有[部门]字符串下 所有 [员工] 的id */
	public List<Integer> getEmpIdsByDepIds(String allDepIds) throws SmsDaoException;
	/* 根据 [员工]id 获得 [员工]姓名 */
	public String getEmpNameByEmpId(Integer empId) throws SmsDaoException;
	/* 根据 [部门]id 获取 [员工]列表 */
	public List<Employee> getEmpsByDepId(String depId) throws SmsDaoException;
}